(Fw32_define_rgb_color): Avoid XSET.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 May 2004 17:37:26 +0000 (17:37 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 May 2004 17:37:26 +0000 (17:37 +0000)
src/w32fns.c

index fc40f5f68da04c9957a8f482bdae47de7191c7d6..20b074130331934237109d8e3662976207a77d33 100644 (file)
@@ -1,5 +1,5 @@
 /* Graphical user interface functions for the Microsoft W32 API.
-   Copyright (C) 1989, 92, 93, 94, 95, 1996, 1997, 1998, 1999, 2000, 2001
+   Copyright (C) 1989, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 01, 2004
      Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -465,7 +465,7 @@ if the entry is new.  */)
   CHECK_NUMBER (blue);
   CHECK_STRING (name);
 
-  XSET (rgb, Lisp_Int, RGB(XUINT (red), XUINT (green), XUINT (blue)));
+  XSETINT (rgb, RGB(XUINT (red), XUINT (green), XUINT (blue)));
 
   BLOCK_INPUT;